﻿<%@ Page Title="" Language="C#" MasterPageFile="MIOS_Manager.master" AutoEventWireup="true" CodeFile="SearchInfo.aspx.cs" Inherits="Searchinfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   <table style="width:100%;">
        <tr>
            <td style="font-family: 楷体_GB2312; color: #CC0000;width: 610px;background-color: #DDDDDD;">
                        搜索结果</td>
        </tr>
        <tr>
            <td style="color:Maroon;">
                <asp:DataList ID="dlSearchinfo" runat="server" RepeatColumns="3" 
                                RepeatDirection="Horizontal" >
                                <ItemTemplate>
                                    <a href='GoodDetail.aspx?instruID=<%#DataBinder.Eval(Container.DataItem,"InstruID") %>'><asp:Image ID="Image6" runat="server" Height="120px" /></a>
                                    <table style="width:100%;">
                                        <tr>
                                            <td style=" width:89px;">
                                                乐器名称：</td>
                                            <td>
                                                <%#DataBinder.Eval(Container.DataItem,"name") %>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style=" width:89px;">
                                                销售价格：</td>
                                            <td>
                                                <%#DataBinder.Eval(Container.DataItem,"sellPrice") %>
                                                元</td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:DataList>
                            <br />
                <asp:Label ID="lbNotExit" runat="server" Text="搜索结果为空！" Visible="false"></asp:Label>
                            <table style="width:100%;">
                    <tr>
                        <td align="center" style="color:Black; font-size:15px;">
                            当前页：第<asp:Label ID="lbPage" runat="server" Text="Label"></asp:Label>
                            页&nbsp; 总页数：<asp:Label ID="lbAllPage" runat="server" Text="Label"></asp:Label>
                            页&nbsp; 
                            <asp:LinkButton ID="lbtnFirstPage" runat="server" ForeColor="Black" 
                                onclick="lbtnFirstPage_Click">首页</asp:LinkButton>
&nbsp;
                            <asp:LinkButton ID="lbtnFormerPage" runat="server" ForeColor="Black" 
                                onclick="lbtnFormerPage_Click">上一页</asp:LinkButton>
&nbsp;
                            <asp:LinkButton ID="lbtnNextPage" runat="server" ForeColor="Black" 
                                onclick="lbtnNextPage_Click">下一页</asp:LinkButton>
&nbsp;
                            <asp:LinkButton ID="lbtnLastPage" runat="server" ForeColor="Black" 
                                onclick="lbtnLastPage_Click">尾页</asp:LinkButton>
                        </td>
                    </tr>
                </table>
                <br />
            </td>
        </tr>
    </table>
</asp:Content>

